package com.sd.repay.controller;

import com.sd.repay.pojo.TransferOrder;
import com.sd.repay.transfer.Transfer;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping(value = "/test")
public class TestController {

    @RequestMapping(value = "tt")
    public void test() {
        TransferOrder order = new TransferOrder();
        order.setAcqMerNo("123");

        Transfer transfer = new Transfer();

        System.out.println(transfer.pay(order).toJsonString());
    }
}
